package com.zjw.controller;

import com.zjw.util.ResultGenUtil;
import com.zjw.vo.ResultVO;
import com.zjw.vo.req.UserLoginReq;
import org.springframework.web.bind.annotation.*;

import javax.validation.Valid;

/**
 * @author zjw
 * @date 2021/4/13 15:15
 */
@RestController
public class LoginController {

    @PostMapping("/login")
    public ResultVO<Object> login(@Valid @RequestBody UserLoginReq userLoginReq) {
        return ResultGenUtil.genSuccess();
    }

}
